import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { SPublicMiniPlayer } from "./SPublicMiniPlayer";
type int = number;
//class SChaosFightResult
    
    export  class SChaosFightResult
    {
       

        public __write(arg1: SerializeStream): void
        {
            this.miniPlayer.__write(arg1);
            arg1.writeInt(this.score);
            arg1.writeInt(this.finalPlace);
            arg1.writeInt(this.itemCode);
            return;
        }

        public __read(arg1: SerializeStream): void
        {
            this.miniPlayer = new SPublicMiniPlayer();
            this.miniPlayer.__read(arg1);
            this.score = arg1.readInt();
            this.finalPlace = arg1.readInt();
            this.itemCode = arg1.readInt();
            return;
        }

        public /* var */miniPlayer: SPublicMiniPlayer;

        public /* var */score: int;

        public /* var */finalPlace: int;

        public /* var */itemCode: int;
    }
